//
//  QuotedPriceTableViewCell.swift
//  jiaoyi
//
//  Created by 易万军 on 2018/10/21.
//  Copyright © 2018 wjk. All rights reserved.
//

import UIKit

typealias buttonBlock = (() -> ())

class QuotedPriceTableViewCell: UITableViewCell {
    
    var commentButtonBlock:  buttonBlock?
    var newButtonBlock:  buttonBlock?
    var cancleButtonBlock:  buttonBlock?
    ///是否被报价
    
    
    @IBOutlet weak var labelStatus: UILabel!
    @IBOutlet weak var labelNo: UILabel!
    @IBOutlet weak var labelAddress: UILabel!
    @IBOutlet weak var labelPin: UILabel!
    @IBOutlet weak var labelCount: UILabel!
    @IBOutlet weak var labelDate: UILabel!
    @IBOutlet weak var labelAddressDep: UILabel!
    
    @IBOutlet weak var btnNew: UIButton!
    @IBOutlet weak var btnCancel: UIButton!
    @IBOutlet weak var btnComment: UIButton!
    @IBOutlet weak var labelJiaoHuo: UILabel!
    @IBOutlet weak var labelMPrice: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        selectionStyle = .none
        
    }
    
    @objc func commentButtonAction(){
        
    }
    

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBAction func clickMessage(_ sender: UIButton) {
        commentButtonBlock?()
    }
    @IBAction func clickCancel(_ sender: UIButton) {
        cancleButtonBlock?()
    }
    @IBAction func clickNew(_ sender: UIButton) {
        newButtonBlock?()
    }
}
